<template>
    <div v-if="$store.state.isMobileAndPc">
        <News v-if="aboutUsType == 1"></News>
        <AboutUs v-if="aboutUsType == 3"></AboutUs>
        <CompanyIntroduction v-if="aboutUsType == 2"></CompanyIntroduction>
    </div>
    <div v-else>
        <News v-if="aboutUsType == 1"></News>
        <AboutUs v-if="aboutUsType == 3"></AboutUs>
        <CompanyIntroduction v-if="aboutUsType == 2"></CompanyIntroduction>
    </div>
</template>
<script>
import CompanyIntroduction from './companyIntroduction.vue'
import News from './news.vue'
import AboutUs from './aboutUs.vue'
import NewsMobil from './newsMobile.vue'
import CompanyIntroductionMobil from './companyIntroductionMobile.vue'
export default {
    components:{AboutUs,CompanyIntroduction,News,CompanyIntroductionMobil,NewsMobil},
    metaInfo: {
        title: '关于我们',
    },
    computed:{
        aboutUsType(){
            return this.$store.state.aboutUsType;
        }
    }
}
</script>

